#ifndef FILTER_H
#define FILTER_H

#include "mpu6500.h"

#define FILTER_NUM	10

extern Mpu_data_t mpu_data;

typedef struct {
	int16_t ax;
	int16_t ay;
	int16_t az;
	
	int16_t gx;
	int16_t gy;
	int16_t gz;

	int16_t temperature;

}Mpu_filter_data_t;

void mpu_average_filter();

uint8_t get_status();

#endif